package com.lzh.persevere.model.qo.comment;

import com.lzh.persevere.model.vo.comment.CommentVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author luzhiheng
 * @since 2025-07-09
 */
@Data
@ApiModel(description = "展开子评论")
public class ExpandSubCommentQO {

    @NotEmpty(message = "模块id不能为空")
    @ApiModelProperty(value = "模块id")
    private String moduleId;

    @NotNull(message = "根评论id不能为空")
    @ApiModelProperty(value = "根评论id")
    private Long rootCommentId;

    @ApiModelProperty(value = "当前展示的子评论列表")
    private List<CommentVO> curSubCommentList;
}
